Carbon


GetPen

Header: Quickdraw.h Carbon status: Supported

Determines the location of the graphics pen.

void GetPen (
    Point *pt
);
Parameter descriptions
pt

On return, a pointer to the graphics pen’s current position in the current graphics port. The point returned is in the local coordinates of the current graphics port.

DISCUSSION

In the pt parameter, the GetPen procedure returns the current pen position. The point returned is in the local coordinates of the current graphics port.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)